add toggle mega nav functionality