switched to click functions and hide/toggle