simplified focused logic, putting a class on a pane instead of a property on an item. also fixed a bug where selecting a row didn't focus it