Fix #44 (workaround scope issue & make sure header visible when press ↑ key)