depcricated menu.js functionallity expanded and moved into topbardiv.edj