Added classes slidLeft and slidRight to mainPage