Removed jQuery transit dependency and used straight css for animations