implemented resizing of map panel and moved escape handling to input
controller