My website is made up of tabs that only have visual content, like a photo album in a grid. When opening each tab, in addition to the extensive vertically scrollable content, there is a close button in the upper right corner to return to the home page ❎. On desktop, it is not so problematic because with a simple mouse movement the visitor go back to the top and close it. But on mobile, the content is arranged in two columns, which makes it necessary to scroll down quite a bit to be able to view it completely. There is a fixed "back to top" button in the lower right corner ⬆️. To close the tab, the visitor must scroll up or click the ⬆️ button and then ❎, which implies two clicks to close a tab.
I don't know if I should set the close button fixed too, to avoid so much scrolling or clicking.
Update
- Tabs are arranged vertically and take up the full width of the page
- When opening a tab the content takes up the entire window, which is why there is a button to close the tab
- The close button is fixed at the top of the content
The question is whether when scrolling the content down, the close button should always be visible in the top right corner of the screen instead of the content