Added ability for panels to have next/prev buttons