middle bar can now be hidden and shown