move drag anim func to constructor