adds responsiveness to map resizes proportionally