Just change the y-values where needed, but do not reparent the notification.
Everything including the close button (!) seems to work.
Keep the original formatting of messageTray.js, so changes can be determined better.
Changes to the y-values are marked with comments, changes for 3.10 compatibility not.