added an option to limit option container height