Added sliding effect and change the state table view for a given scenario