Fixed sidebar issue

Was printing out extra closing divs