Added viewport code into head