(X) button isnt working on facebook when u open a picture or story

hello,the (X) button on the top left of the screen often doesnt work,for example when u open a picture or a story on instagram and u wanna close it,the left top corner (X) button doesnt work and u have to reload the facebook.