fix link around svg object
further attempts at making pagination work