How can we handle if menu has large no of options?

How can we handle if menu has large no of options?

Software
-------------
jQuery1.9M2

Problem
-------------
How can we handle if menu has large no of options?

I modified
http://view.jqueryui.com/menu/demos/menu/contextmenu.html

and added more no of options after some limit the menu did not display properly? I mean it scrolled on the top?

---------------------------------------
Thanks in advance

CSJakharia