added JS file for photo

javascript file added for scrolling canvas