Updated to use .show .hide properly