applies class of item to every item in quicklinks view, correctly applies class of "last"