Update ui.html

Min and max were inverted