swap nav and div