Got stuck in a Secret Base

I used the teleporter pad to get to the friend safari faster, but got stuck behind the tree in the Forest theme
I tried battling dex-nav trainers and losing, and even tho i healed up in selene city before going to my secret base its not sending me there

ok nvm i used my tablet and left