adding  sliding effect to the home page