added next/prev buttons to gallery