set Main panel as Central Widget