highlight select item

add 'selected' class to the selected item in the contents list