Code

Adjusted automatic resize function to include footer size in height recalculations