reactjs hammerjs integration with animations