added swiping and day navigation