Configure the viewport & double tap