allow the user to specifiy min and max y values instead of a padding