added selected Menu and toggle neighbours in mainframe