making event page work for mobile