add second activity showing larger image and direct to there when clicking on thumbnail. cleaned up query code a little.