added contrast control function for gLCDs