set height and width for general layout to fill the screen