added params[:action] to infinite scrolling for chapters