Real-time for navigation bar width change