Kindly reference the following link:
Ruling on stretching legs towards the Qibla
Pointing one's feet towards the Qibla or in the direction of the Quran?
Is it disrespectful to point your feet towards the Quran?
Ruling on Facing or Giving your back to the Qibla in the Toilet / Washroom
Is putting the Quran on the ground or in one's lap disrespecting the Quran