Re-add the "extend" argument

This lets you distinguish between moving the selections or extending them. Tested in both ST2 and ST3.