Added letterbox functionality back into main branch.