Fix navbar title position on window resize and document ready.