Improved zoom slider behaviour