added drag/resize capabilities