modified mainwindow gui

next and prebhious button added