added checks before switching pages
added animation running indicator to prevent concurrent animations
added scroll support