Refactored toggle top bar methods.