Scroll behavior improved.

Fix bug in predicate of home tab.