add mappings for swapping tabs