add minvalue for sidebar box