to create menu just connect menu logic to dom