Moves a marker in a list to a new position
marker
list
position
true if the marker could be moved, false otherwise (if the marker was not present in the list for example)