ANIMATIONMODE_VIEW can be removed

See http://nabble.documentfoundation.org/About-ANIMATIONMODE-VIEW-in-slideshow-module-td4106488.html

Change-Id: I0405e8ef41105a53ac056382aa6b32d2a573c170
cppcheck: reduce scope

Change-Id: I18d7500dcc4b29e2d0face22649f6f96382eabe8