some minor bugfixes with history back function when maps and settings page are shown