Some hack for write smooth scroll