Fixes tab history to work correctly when multiple tab elements must use same history event. Adds tab documentation back into docs