Position error bugfix
If the position doesn't exist (e.g. if you destroy the slider on a next click), this prevents it from throwing an error.