Sort of working minmax
added custom grid