The Sun's motion perpendicular to the galactic plane