Fixed error with horizontal scroll