slider to control refresh rate