Sorry had another question in relation to the above.
The action hooks above are working great in a standard browser width. When the site is being viewed on a tablet or mobile device the vertical nav doesn’t work that great. I was wondering if it would be possible to re-instate the default nav when viewed on tablet and mobile devices only – i.e. the vertical nav would be removed once the site hits the first media query and it is replaced by the default mobile nav?