change keyboard shortcut for resize: z -> r
add missing parts to last commit