pixel perfect and layout main page