adjust nav and modal properties