new approach for camera snapshot, top panel hot fix, image resizing fix