Sharp slope bounds for sweeping families of trigonal curves