fixed issue when menu had different height on mobile