added shift-selection rectangle

now it is possible to create a selection rectangle when pressed shift,
which swaps selection.