The parabolas with equations $y=x^{2}-2 x-3$ and $y=-x^{2}+4 x+c$ intersect at points $A$ and $B$. Determine the value of $c$ so that the sum of the $x$-coordinate and $y$-coordinate of the midpoint of $A B$ is 2017 .