Moved initial screenchange event to before loading mask fadeout.
Added nav format CSS for responsive template.