Various fixes

* Removed concept of one entry groups. Now all groups has an array of tracks (even if just one) as it simplifies the code
* Rewrote the scrolling handling when auto selecting a new track. The new code should be more robust and doesn't rely on track ordering