set section class to overflow if window size is too small