added viewport to pages