javascript scroll bar based game