click and hover events, slide effect, debug mode and other improvements