updated mobile index to add caching and move section logic to event.rb