Cleaned up code duplication in _showElement()
Added options, callbacks.