#3595: Make slider js more robust.
Merge pull request #3596 from openscholar/3595-abstract_slider_fix

Make slider js more robust.