resize marker position changed

change the resize marker position to the centre of the sides of the
cross section drawn and make width change proportional to the drag.