right before resizing slider