Functionality additions

Adds annotation tap and deselect javascript callbacks [annotationTap()
and annotationDeselect() respectively], and adds some smoother
animation to the show and hide events, plus other small changes.