set title texture size
add resize event listener