added prev and next funcitons to homelsider