Changed the resize problem and the absolute positioning for texts