Add unmin, unmax events. fix #3.