resolved an issue of window-size for placeNav to work