center message window in panel