Close opened media or thermostat page?

Is there a way to close go back from an opened media or thermostat after it is opened up. On the device I’m testing on I can of course click the physical back button its an old one plus :wink: On newer android phones can you just swipe on the card to close this page or could this be added in the code? Today this feels more natural I think…