It's my first time useing the tick event provided by greensock, and i am having trouble to figure it out what i am missing in my code, because there are signs that something is not right.
Well the concept is that there is a horizontal scrolling area (with iscroll.js), and during scrolling the upcomming element should scale up / animate to it's full size.
I use the TweenMax.ticker.addEventListener('tick', myfunction) on line 312 to call the function which detects which box should be animated. On every tick event the selected box(es) properties get updated with TweenMax.set.
The problem is that the performance is not right, there is a flickering during scrolling and in IE11 it is even worse (very jumpy).
I have put together a fiddle to see it in action: https://jsfiddle.net/LaszloOveges/yykc0356/
Anyone has an idea what is wrong with this code? I would really appreciate any comment.