background scaling fix, moved GA code into head