enable css animaion with jquery automatically. inspired by angular animate