fix how ul and ol elements get handled at small screen widths