fixed checking for easing css class