Adds category filter to the main page