Remove the if statement

```js
var onPanningLandingPage = searchPageEnabled ? _onPanningLandingPage : noop;

function _onPanningLandingPage(progress) {
   var e = new CustomEvent('gridpagepanning', {detail: {progress: progress}});
   landingContainer.dispatch(e);
}
```

When you have this container initialized 

landingContainer = pages[0].container;