fix hide and show using css hidden class