making the line disappear on landscapes via fade function