Simplify tab event binding