rendering menu only once