adjust links order and restyle