few tweaks to make it all work on mobile