dsputil: allow to skip drawing of top/bottom edges.