refactoring, added more easing classes, updated example, fixed onLayoutChange