added bug fix: position -1 was sent when the user clicked on header, now
the event is consumed and not passed on.