Fix sliding position.