Why having fun makes time speed

Scientists have come up with a theory for why time flies when you are having fun - and drags when you are bored. Scans have shown that patterns of activity in the brain change depending on how we focus on a task.
link
relativity time