add offset option to hovercard
better handling of events