keep the platform moving if the player hits the edge