create local dependencies to speed things up

also make the bg smaller for small mobile devices so that it doesn't
need to load a giant image.