image resize and navbar changes