Change Pan methods to work with dates instead of x coords