adding stackpanel control