Add events for mousedown, keypress. Resize on keypress.