thumbnail fixes, issue #6 photo disappears on screen rotation