Fixes for main and post page

Lots of fixes
Working almost perfect on every browser