Implemented toggle visibility