What is your issue?
Won’t the display rotate or is the touch not inline with display?
this should be in the userconfig.txt
hdmi_group=2
hdmi_mode=87
hdmi_timings=400 0 100 10 140 1280 10 20 20 2 0 0 0 60 0 43000000 3
display_rotate=3
Don’t do any rotation in “touch_display”
If the touch is not in line with the display, use the hardware button on the back of the panel.