fix main page
add transition and center menu
add rules page