Made code for sidebar look nicer