auto expand post preview

This fixes #4346.