Baby won’t sleep unless

Okay so my baby girl just turned 4 months she has known how to roll from front to back for a while but about 2 weeks ago she learned back to front. And so we stopping swaddling and now she won’t sleep every time she turns in her sleep she cries and I have to give her pacifier but we are up and down every hour. It seems like she is uncomfortable with being on her side or stomach sleeping.... but she’s rolling herself 🤦🏼‍♀️ should I go back to swaddling ?? I thought we were supposed to stop when they learned how to roll back to front?? Right now the only way we get rest is co sleeping with the boppy pillow which I don’t like cause it’s not safe but we are desperate.