Reattach two delicate flex cables that connect the display assembly

The two delicate flex cables that connect the display assembly to the motherboard came off the connection ports while I was replacing the battery. The ends do not look broken. What is the best way to reattach them? do I have to remove the battery cover?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0