fix scroll with precompile