Moving Subcategories From Main Content To The Left Above Product Filters

I am trying to find a way to move the subcategories from displaying horizontal to vertically above the product filters and can't figure it out. Any suggestions?

[attachment=14850:2021-02-03_12-46-44.png]

2021-02-03_12-46-44.png

Try to use HTML block with SMARTY support and code similar to this

{if $subcategories}
    
{/if}

(!) Not tested