added color support for Up/Down
changes to support HiDPI screens and avoid dotted lines