added through example 6. added on animate and mouseevents