Use aria-selected attribute instead of .selected on tabs