All of those (except for verticalizing) are for as need. Anything that isn't going off the side can stay as it is currently, Just check the window size and if it's too narrow, then add the adjustment. So you would be checking
window.innerWidth, I think (depends on exactly how the storymap is...