adjust map lengends based on screen width