position and resize overlay correctly for new approach of leaving it in body