Balancing long-term and short-term selection response