Added event.preventDefault to lastclick and firstclick

Now using event.preventDefault on the remaining clicks of the lastclick and firstclick events since there's no point in allowing default actions on them.