fix several bugs with color editing, add edge swipe gesture to show menu