converted viewer to use sprite object
Consolidated activity caller
simplified get element check
Moved drag method to prototype