Unable to create hide/show condition properly, getting a blank screen