Added the sleep page and changed mainwindow size