fix vertical height bug and made navigation compatible to any browsersite