update version
small fix; use int for panFromEdge