Implemented resize, hide, show