Added offset to the view