Added y-offset option.