Finished refactoring sliding render.