added window swiping