menu loops in index template - working move logic to model