Fix hoverRow function

User hovers over a row and hits enter does not select the highlighted selection because hoverRow funciton is missing $index in the template.