made cutoff slider functional