fixed the input slider on zoom issue