Manipulating Majorana fermions using supercurrents