hardcoded min rect 500x500
lefttopedge for moving