Painted Storks with forward bent ‘knees’

These Painted storks at Changaram looks like they are sitting with their knees bent forward.However the joints that are bent forward and