Only switch tabs when idle.

This fixes https://github.com/benjaminoakes/TabCarousel/issues/4