Added mg-view and mg-class animation