temp fix for rect y values
added header and footer elements