fix toolbar drag bug; fix palette styling