Moving nav to js
Dynamic left content now correctly updates based on the depth