Set position to nearest page