A neighbour has told a court how "huge bangs" on the floor above prompted her to run to the flat where pensioner Mary Logie was allegedly beaten to death with a rolling pin.

Gwen Smith said she went to the 82-year-old's home after hearing a sound like someone "hammering" to get her attention.

She told the High Court in Edinburgh that murder accused Sandra Weir answered the door to Mrs Logie's flat in Green Gates, Leven, Fife.

Ms Smith sobbed as she told prosecution lawyer Alex Prentice QC on the third day of the trial that she came across a "horrible situation".

The 64-year-old said Weir told her Mrs Logie was injured.

Ms Smith said Mrs Logie was lying on the floor of her living room.

When Mr Prentice asked her if she saw an item lying nearby, Ms Smith replied: "A rolling pin on the couch."

Ms Smith was giving evidence on the third day of proceedings against Weir, who denies eight charges including murdering Mrs Logie by striking her with a rolling pin.

The witness told Mr Prentice that on the morning Mrs Logie was allegedly murdered she heard a loud noise coming from a property in the block where she lived.

Ms Smith told the court that after hearing the loud noise, she heard somebody saying "ouch".

She told Mr Prentice she thought the sound came from another neighbour's flat.

Ms Smith said there was "absolute silence" from the flat above until around 8pm that night, when she sat down to watch soap operas on TV.

She said: "There was huge bangs on the floor - like somebody hammering on the floor to draw my attention."

Ms Smith told the court that in the past Mrs Logie had banged down to her when she needed help so her son encouraged her to go and see if everything was OK.

When Mr Prentice asked her what she found when she went upstairs, the witness replied: "A horrible situation."

She also told the court that as she saw Mrs Logie lying on the floor, Weir was emotional and told her the pensioner had fallen and hurt herself.

Ms Smith said: "I think it was quite obvious what had happened to her", adding that she asked her son to call for an ambulance.

Ms Smith told defence solicitor advocate Murray Macara QC that Weir's husband helped Mrs Logie as they waited on paramedics to arrive.

She added: "He was taking her pulse. He was holding a tea towel on her head."

Aaron Robertson also gave evidence on Wednesday, explaining he dealt heroin to Weir and she owed him £320 for the drug in the same month that Mrs Logie lost her life.

Mr Robertson also told the court Weir paid the debt off in the days after Mrs Logie lost her life.

Giving his address as HMP Perth, Mr Robertson also described Weir as being "partially sighted" and having a guide dog called Orla.

Weir is accused of murder and of attempting to defeat the ends of justice by cleaning blood from a floor and disposing of and washing clothes.

She is also accused of stealing unknown quantities of money, two rings and Mrs Logie's bank card or cards between April 1, 2010, and January 5 this year.

Prosecutors also allege she used Mrs Logie's bank card to steal £4460 at cash machines around Fife between December 2014 and January 4 this year.

Weir denies the charges against her and has lodged a special defence of alibi.

The trial, before judge Michael O'Grady QC, continues.