Tweaks and fixes to sidebar layouts.

Added more explicit classes to elements in all styles, to make custom css easier to wrangle.
Fixed issue with default style showing unread items out of order.
Fixed item tagging js.