add first scratchpad toggle functionality