Edited jquery to use hide

changed the use of toggleclass to instead utilize either hide or toggl