Hide category sort options when all apps are visible (bug 867247)

If all the apps are on the page, hide the sort options and View All
button.