Adding null/undefined check in _animateTabTo.

Fixes TODO 1.
Prevents tabs re-positioning break, when tabs are not in high enough in number when scroll appears.
Need to study code more and proper fix needs to be applied.