set up ajax call when thumbnail is clicked... didn't implement a render