Figured out a working solution to make the views hide / unhide.