Adds classes pin-absolute pin-fixed, and scrolling when the content is too long

Use case is the following: when the pinned content is too high for the window, add overflow:auto so that the user can scroll within that content as well.