Limit transitions to box-shadow on navbar