Added hide-show functionality