Happens to me all the time too. I think if you are holding an arrow key when a tactical battle ends it causes it. What I find works is when you get back to the gal map just hold the arrow key of whichever direction it is scrolling to for a few seconds. When you release it everything should be back to normal. Always works for me.