Fixed broken resizeHeight method (due to how device size setup the post)