fix height of the slider and padding in nav bar