changed show/hide to display block/none