first attempt for page elements image resizing and dragging