private function initLayer()
    {
        $this->layerResolver->create($this->getLayerType());

        if ($this->getRequest()->getParam('cat')) {
            $category = $this->categoryFactory->create()->setId($this->getRequest()->getParam('cat'));
            $this->layerResolver->get()->setCurrentCategory($category);
        }

        $this->applyFilters();

        return $this;
    }