Well, that can't be done with an extension, since that's specific of the skin you're using. You should either find a skin capable of doing that (which would also change the whole look of your wiki), or code that functionality yourself/with the help of someone.
MediaWiki uses jQuery, so you may find some jQuery plugin capable of doing that, but you'll also need to know how to add the options you want to display to that menu.
Once you have the code, you can put on your wiki at the locations specified in Manual:Interface/JavaScript