instead of using it.last_visible_y for the height of the window.
Attach a file by drag & drop or click to upload