looks severe since there was severe swelling and lots of bleed underneath the skin.
Ligament injuries (sprains) , if severe do take a lot of time to settle down. Some physiotherapy
might help to reduce pain, swelling and to increase muscle tone
The swelling above ankle could be - collected blood (haematoma
), a retracted torn muscle (if injury was not just a sprain) or a healing fracture(??)-missed on initial X rays. Better to visit the doctor again.