Why not `.hide();` instead of `.css("display", "none");` ?
https://api.jquery.com/hide/