sidebar: more layout and formatting

Signed-off-by: Simarpreet Singh <s244sing@uwaterloo.ca>