add moveright logic