Support for both full-size viewport height and width overlay