improved collection view event handling in layouts