How can I fix Firefox's jagged scrolling on Lion? I noticed that scrolling in Firefox on Lion is not very pleasant experience.

Is there a way to optimize it for better performance?

I tried smooth scrolling setting - but it didn't do anything.
Go to configuration by type about:config in address bar and press enter key then enter scroll in filter box, now you can change all scroll options.