making sidebar flexible