Fixes #735 Deleting first post in a thread slides the post up instead of redirecting

**Duplicate of Pullrequest 745**

This one does not contain any other commits.