move elements inward if outside placement