more changes to implement a horizontal scroll