movement handleing in gui added