Overlay works now

Lines also go backwards. I think it all works now