changes services icons display layout based on screen size