Add handling for window resizes to ScrollBar