Added functionality for isOpen, keyboard event handlers, and get keyboard height