Added materialQuery handler
Added gallery join when receiving navigation materials