Fix inactive event
Fix #206: add scroll_top flag to controller constructor