Changes for adding the text positioning on landscape and portrait