saved 83 lines of code, midfied menu, jquery