Example for tracking whether keyboard is active, using
focus and border crossing events
