fixed bugs and added menu from twitter example