fixed constraints
updated to pop current vc when search clicked