make hidding message working with turbolinks