Try to fix strange behaviour of the preview slider towards the end