fix css portrait mode