Improve set position to slide