sidebar only minimises instead of disappearing