added animation logic für menu items
rebuild main.js as a jquery plugin