I think it's fine to go ahead and modify twipsy here since we have a very specific need--and if I remember correctly you had to use an old version of it anyway since we're still on old Bootstrap, so it's probably not that important to figure out how we would generalize this and contribute it back. That said, it's probably still worth adding a couple comments around the parts we changed, in case we want to update this to some newer version later.