fix texture bug and build flex boxes
finish flexboxes and fix layout bug for search field