added the ability to offset the view