prevent incorrect showSlide calls at startup
prevent additional inaccurate showSlide calls
fix npe