Slight updates to constructor for sidebar