main page layouting done