- adjusting frame of slider