Improve sliding panel swipe
The sliding panel currently doesn't feel responsive sometimes or gets stuck in an open state due to the close animation being of a fixed time. I now immediately skip the animation process if the panel is off the screen and cancel animations immediately when new events happen to make it more responsive.