reset slider upon switching via click