Try comment out move_view() and see what happen,
like this :

// move_view();