some fix and add view port to index.html