I my controller, when i try to use the animateActiveItem function it doesn't work at all. I am using the built in getter and setter function and referring to the results panel above in the refs config in the controller. The code is below:

Code:

Code:

refs: { results: 'resultspanel',},

I have written a function to switch the different xtypes contained within the results which is below but unfortunately the getter function getResults() doesn't seem to work, as in nothing happens when I tap that button that should scroll the results panel into view. The code is below