adding pagination/next/prev support to videos