Added support for selection and drag&drop

Change-Id: I35fada2d7b7ef5b3fce3192e6d4cdea0bd42c6d3