add status bar functionality in elements