Implementing the blur effect