handle edges by holding off last pixel value
Authored by: rmottola 2015-09-25
Parent: [r466]
Child: [r468]