fixes the vertical position of the dot