Javascript Leaflet Map Showing Blank Space While Collapsing Left

Javascript Leaflet Map Showing Blank Space While Collapsing Left