Bug fix: error when swiping with side view width = 0