Categories updates

fixes error with categories dropdown closing
applies categories filter to items