A JS add-on to adjust layout on mobile devices