trim things so they fit on mobile