Added key mappings for window resizing.