made map placement more dynamic for medium and large views