almost working but missing image display and size detection to reverse Y position