added title and fixed event positioning