Zepto animation adjust and cleanup code