Solved! Go to Solution.
Just messing around with your code, I tried removing the divs from line 191-195 and the advanced map opened full size in the new window. Not sure if those divs will be necessary in your map later on, but hopefully it at least gives you an idea of where to start!