Add post reordering animation

- Fix error where active tabs where incorrect
- Add CSS styling to .post class
- Create postsWithRank template helper
- Add attributes to post_item template helper
- Add attributes helper function to post_item