Smooth page navigation with loading animation state from local storage rather than initializing every time

Signed-off-by: Alexander Prokopyev <xana4ok@gmail.com>