Random sample size automatically adjusts
Fixed the navbar