to solve issue #413

exchanged wrong... id="cat...
with earlier
<div class="eventCat" catid="<?php echo $cat->id; ?>">