One way to keep slack out of your line is to keep the fly in motion as well. When I'm using nymphs for panfish, after letting the fly drop, I frequently use a SLOW steady retrieve. If the fish hits, I'm basically already setting the hook.