Hi, I am Dave, I will help you with this.
Open the Settings App.
Go to System - Multi-tasking.
In the Snap settings, disable this option - Show Snap Layouts when I drag a window to the top of my screen.
That will remove that panel from the top of your screen.
If you want to disable the option on the maximize button on app Windows, then disable Snap Layouts totally on that settings window.