Determining the available viewport for use