menu functionality added
replacement of some jquery with closure
fixed index box input bug
todo changed
pre merge of all branches