bootstrap 3 fix from gist