Fix flickering on initial opening of menu, ref #40

Upon hard refresh, this will still wait for images to load, but that is
expected (all images on the page will do it). This fixes the flickering
that happens even after the images are cached.