So I recently got a 1 year old cat from a shelter and it's been about 3 weeks so far. I have had her in her own private room since and is always separated from the dog. For awhile I did the scent swapping and would let dog out but hold her and allow the cat to do her thing downstairs and play. While playing my dog would be excited and want to go to her. So recently I purchased a pet gate for upstairs and when I allow the dog to roam upstairs the cat curiously goes up the steps towards the gate. If my dog gets too close to the gate however my cat hisses/growls and will swat the gate. Some days she allows the dog to come closer then others but the end result is the same. What can I do to help ease the transition and hope my cat stops getting aggressive when my dog comes near.