working on css&js for map resize feature