trying to fix bug menu does not display correctly in portrait mode