began practising with JavaScript to make submenus appear and disappear