setting height of post container with JS to fix display bug in FF and IE