Jump to key moments of Maximum and minimum values of functions