no more "flash" when updating posts

also moved all the post getting code to the spreddit.ts file, and made
the tabs look prettier