Move mainwindow to gallery