made dynamic link and feel for mainpage