add next/previous buttons