make map disappear if the page is too small