Fixed palette scrolling. Added smooth transition between small and big palette button.