Made height of the applcation dynamic