Added tab index and keyboard toggling events