Removed the unused scroll variable and the 550 hardcoded magic number