EDITABLE CODE:
LiveDemo:jQuery - Animation using toggle() Method
Note:If no value is returned , jQuery removes all classes from the element.