added simple animation and localstorage support