fixed some functionality with offsetMap and changed its name to centerOnPath. fixes #9