mini calendar month year navigation

Some of the minicalendar samples enable minicalendar that by pressing on the month name it is possible to select another month (it is also possible for years). How is it possible to enable that feature using javascript?

unfortunately the built-in minicalendar does not support such feature