basic slider-zooming functionality