Moved styling to .css file, removed hide/show events, added hiding transition