twitter/bootstrap — pull request #1569 by rudy750 (2012-02-02 03:26:11+00:00)
Title: Updated with a possible fix for the position of the modal...

on smaller screens.

uses window.matchMedia to see if media query style is applied. Checks scroll position and adds 20px for some padding.
removes top position on hide to maintain responsive behavior.