updated annotation code to fix bugs with multiple firings on .load, first image can be annotated, but annotations die after thumbnail click