fixed post and events views on main page