Auto adjust xAxis based on content height change

Added an auto adjust observer for the xAxis' vertical position when the content changes.