sample: major update, slider: small fix

Fixed Issue for loading the page with a slider that has desktop set to
false
Major improvement to the sample page