Make use of the block structure to clean up index/events/search heavily Fix a bug for the paging context on the events view