added controls prev and next