update slider.js

The new slider will not change its active window if your mouse hover it.