Adding/removing tabindex to links dynamically to prevent strange slide transitions