Dynamics of Confined Polymer Melts: Topology and Entanglement