changed the pixel sizes to relative sizes