need to fix css before setting viewport