fix map bounds, take current position into account

fixes #1
fix collapsed header

fixes #15