react layout implementation for browser