split main screen into three components