• added custom easing and rewritten to class