added toggle visibility for tabs #266