Optimizes responsive behaviour.