This terminal tweak will enable a hidden list view for your stacks that is way better then the default one that comes with OS X. Enable hidden Stacks list view with the following command:
defaults write com.apple.dock use-new-list-stack -bool YES
To make the command take effect, you need to restart the Dock:
killall Dock
Revert to the default setting:
defaults write com.apple.dock use-new-list-stack -bool NO
To make the command take effect, you need to restart the Dock.
Screencast:
Thanks a lot it worked like a charm on my Application Dock Stack on Mavericks 😀