trying to make it work better on mobile devices