start with map absolutely positioned to avoid jump
refactor expand_map()
style changes for smoother transitions