To prevent cake from sticking to the sides of your pan, I always suggest buttering your cake pans before lining them. This does double duty, since the butter will also help the parchment liner stick to the bottom surface. For good measure, you can dust the sides of the pan with flour or cocoa powder too. I go over this thoroughly in my post on how to prep cake pans.