Newborn legs!

My week old baby won’t straighten her legs up! She’s always bunching herself into a little ball, is this okay? I try to lay her flat and move her legs lightly but she won’t ease up and it’s a pain when trying to change her diaper!