main page: fix bounds error on events widget
Merge pull request #269 from colegleason/fix-event-error

main page: fix bounds error on events widget