viewport restored in index.html