move centerwindow to view