switch between fixed bar height and not