DynamicFL: Balancing Communication Dynamics and Client Manipulation for Federated Learning