make resource on full screen relavant to template height.