fixing the slide formatting on mobile