Physical restriction in swellable matrices as modulator of drug release