Fixed next/prev content bug