added offsetX & offsetY properties to change view location.