fix the fixed height of the topbar from jumping