bugfix for 500 pages

bugfix for labels overlapping
bugfix for images overlapping on smaller screens