TODO: Map resizing should be done via css.