set width and heith to make mainContainer show as initial view