bars can now be hidden by setting hidden to true.