Applied fix from https://github.com/twbs/bootstrap/issues/7968 for iphone browser