Standing opposite the chest is a matter of positioning relative to the deceased. Worshippers form rows behind the leader.
This arrangement belongs to a prayer performed standing throughout; it is distinct from positioning for ordinary prayer movements such as bowing and prostration.