missed a few
add a util function for transforming coordinates from page coords to canvas coords