implementing inventory tabs filter