fix animations so they work with both zepto and query