start work on multiple methods for onResize, onEnter and onLeave