Fix box overlap when content is higher than viewport