Height adjustment for user menu at different screen sizes