added frontBuffer method, like backBuffer
add getPixel by reversing drawPixel