fixed but with programmatic popViewController and added 0 duration animation