Make viewport resize optional

Due to some Webdrivers not supporting window handling, a flag to do the window resize and positioning should be implemented.
I ran into problems using Opera and Android