Scrolling content and fixed sidebar

Am trying to implement a scrolling content and fixed sidebar view in an ionic app i’m building for tablets. I’ve tried using fixed positioning for the sidebar, but the sidebar height doesnt match the screen height, and it scrolls with the content as well.
Any help will be greatly appreciated. Thanks