Fix poorly-merged event declaration (#804).

A merge reintroduced an event declaration in the viewer for a
function which no longer exists. Take that out.
Merge pull request #806 from patternleaf/804-handleImgResize-undefined

Fix poorly-merged event declaration (#804).