a little cleanup
give slider/map max value

avoids us having to do calculations all over the place :)