styling side bar, adding function to on/off buttons