make menu bar height dynamic based on content