If you can't change the scenery, change your riding style. Maybe carry less so you can ride faster and more aggressively? Mix it up with the occasional all out sprint? Granted it's probably not the best for energy conservation, but when I'm tired of the bike I just sprint hard for a while and it gets me right back to where I need to be mentally.