added mapping fo moving lines up and down