fix panzoom centring on slider