add shots and zoom code to application.html