fixes the title and adds viewport size