How can scroll a side scroll bar of web-page with selenium in python

I've tried to scroll a side bar (not full page) of a web-page but couldn't proceed.

element = driver.find_elements_by_css_selector(".sidebar-content > div:nth-child(3) > div:nth-child(1)")[-1]
actions = ActionChains(driver)
actions.move_to_element(element).perform()