fixes scroll bar overflow issues in menubar