Found and fixed a bug related to setting an active tab by default

There was a bug if you had .active set on a tab by default that
wouldn't remove the class until it was clicked again.