added a listener for ESC key, and a fix for fixed positioning