Added tabIndex attribute for elements. Made some changes, that active classname works.