add selected class style to selected page