Fixing navbar webkit bug