fixed paging issue and episodes error

While looking at this, realized paging in videos was giving errors due to full url not in pagination href, so put in alternate code. Also fixed error with no ep_index in full episodes