remove unused std::function declare
refactor easeIn, easeOut and easeInOut with free tween functions