set resolution of slider