Normally, whem I shut my door, it takes quite a bit of effort to shut it, but when my window is open, even if I just pull it slightly then let go, it slams automatically. It isn't an issue, I just want to know the physics behind it. Is it something to do with difference in pressure?​