slide duration from database