Set Content to maximum Height

Set content to not exceed page height, needs to be expanded to consider
footer and orientation change