adding toggle to media library page