Make tabs switch when hitting tab