fix typo in draw function from scroll layout